home *** CD-ROM | disk | FTP | other *** search
/ Aminet 48 / Aminet 48 (2002)(GTI - Schatztruhe)[!][Apr 2002].iso / Aminet / util / moni / Scout-src.lha / source / objects / scout_semaphores_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-02-13  |  1.9 KB  |  79 lines

  1. /**
  2.  * Scout - The Amiga System Monitor
  3.  *
  4.  *------------------------------------------------------------------
  5.  *
  6.  * This program is free software; you can redistribute it and/or modify
  7.  * it under the terms of the GNU General Public License as published by
  8.  * the Free Software Foundation; either version 2 of the License, or
  9.  * any later version.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program; if not, write to the Free Software
  18.  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19.  *
  20.  * You must not use this source code to gain profit of any kind!
  21.  *
  22.  *------------------------------------------------------------------
  23.  *
  24.  * @author Andreas Gelhausen
  25.  * @author Richard Körber <rkoerber@gmx.de>
  26.  */
  27.  
  28.  
  29. /* Prototypes for functions defined in
  30. objects/scout_semaphores.c
  31.  */
  32.  
  33. struct   SemEntry {
  34.    struct   SemEntry    *sm_next;
  35.    struct   SignalSemaphore   *sm_adr;
  36.    char  sm_address[ADDRESSLENGTH];
  37.    char  sm_name[FILENAMELENGTH+2];
  38.    char  sm_nestcount[5];
  39.    char  sm_queuecount[5];
  40.    char  sm_owner[NODENAMELENGTH+2];
  41. };
  42.  
  43. extern APTR BT_SemUpdate;
  44.  
  45. extern APTR BT_SemPrint;
  46.  
  47. extern APTR BT_SemObtain;
  48.  
  49. extern APTR BT_SemRelease;
  50.  
  51. extern APTR BT_SemRemove;
  52.  
  53. extern APTR BT_SemExit;
  54.  
  55. extern APTR semtext;
  56.  
  57. extern APTR semlist;
  58.  
  59. extern APTR semcount;
  60.  
  61. extern int semcnt;
  62.  
  63. LONG __asm semlist_dspfunc(register __a2 char ** , register __a1 struct SemEntry * , register __a0 struct Hook * );
  64.  
  65. extern struct Hook semlist_dsphook, semlist_cmphook;
  66.  
  67. void FreeSemaphores(void);
  68.  
  69. int GetSemaphores(struct SemEntry ** );
  70.  
  71. void PrintSemaphores(char * );
  72.  
  73. void ShowSemaphores(void);
  74.  
  75. void SendSemList(void);
  76.  
  77. void SemaphoresWindow(BOOL );
  78.  
  79.